<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="{{$img_url}}index.css" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="{{$js_url}}function.js"></script>
<div id="mainer">
<table class="table1"><tr>
<td align="left">正在查看 －{{$headline}} <i class="tips">{{$showtips}}</i></td>
<td align="right" width="200"><a href="{{$filename}}">分类目录管理</a> </td>
</tr></table>

<form method="post" action="">
<table class="table3">
{{if $Catalogid}}
<tr>
	<th>修改类别的ID：</th>
    <td><input class="input1" disabled="disabled" value="{{$Catalogid}}" />
    	<input type="hidden" name="Catalogid" value="{{$Catalogid}}" />
    </td>
</tr>
{{/if}}
<tr>
	<th width="120">上级类别：</th>
    <td><select name="CparentId">
    <option value="0">根 目 录</option>
    {{html_options options=$catalog selected=$CparentId}}
    </select></td>
</tr>
<tr>
	<th>类别中文名称：</th>
    <td><input class="input6" name="Categoryname" value="{{$Categoryname}}" />
    	<span class="redpad">{{$e_Categoryname}}</span>
    </td>
</tr>
<tr>
	<th>类别英文名称：</th>
    <td><input class="input6" name="Categoryname_en" value="{{$Categoryname_en}}" />
    	<span class="redpad">{{$e_Categoryname}}</span>
    </td>
</tr>
<tr>
	<th>类别标题中文：</th>
    <td><input class="input6" name="Ctitle" value="{{$Ctitle}}" /></td>
</tr>
<tr>
	<th>类别关键字中文：</th>
    <td><input class="input6" name="Ckeyword" value="{{$Ckeyword}}" /></td>
</tr>
<tr>
	<th>类别描述中文：</th>
    <td><textarea name="Cdesc" rows="5" cols="60">{{$Cdesc}}</textarea></td>
</tr>
<tr>
	<th>类别标题英文：</th>
    <td><input class="input6" name="Ctitle_en" value="{{$Ctitle_en}}" /></td>
</tr>
<tr>
	<th>类别关键字英文：</th>
    <td><input class="input6" name="Ckeyword_en" value="{{$Ckeyword_en}}" /></td>
</tr>
<tr>
	<th>类别描述英文：</th>
    <td><textarea name="Cdesc_en" rows="5" cols="60">{{$Cdesc_en}}</textarea></td>
</tr>
<tr><th></th><td>
	<input type="submit" value="提交" />
	<input type="button" value="返回" onclick="history.go(-1)" />
</td></tr>
</table>
</form>

<table class="table2">
<tr>
	<th width="40">序号</th>
    <th>类别名</th>
    <th width="100">删除</th>
</tr>
{{section name=a loop=$record}}
{{if $record[a].selected}}
<tr class="selected">
    <td class="center">{{$record[a].num}}</td>
	<td>{{$record[a].name}}</td>
    <td class="center"><a onclick="checkclick('确定要删除该分类目录吗?')" href="{{$filename}}?did={{$record[a].id}}">删除</a></td>
</tr>
{{else}}
<tr>
    <td class="center">{{$record[a].num}}</td>
	<td><a href="{{$filename}}?id={{$record[a].id}}">{{$record[a].name}}</a></td>
    <td class="center"><a onclick="checkclick('确定要删除该分类目录吗?')" href="{{$filename}}?did={{$record[a].id}}">删除</a></td>
</tr>
{{/if}}
{{/section}}
</table>
{{include file="footer.html"}}
</div>